package com.chunuo.mvc.service;

import com.chunuo.mvc.entity.SysUser;

import java.util.List;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-12-22 13:29
 */
public interface UserService {

    void saveOrUpdate(SysUser sysUser);

    void delete(SysUser sysUser);

    List<SysUser> findSysUserList();

    SysUser findSysUserById(String id);

    String findUserNameById(String id);

    int update(SysUser sysUser);

    int deleteSysUserByUsername(String username,String id);

}
